

public class PasswordCheck {

	
		public static boolean checkPassword(String password){
	        int length;
	        int counter=0;
	        length = password.length();
	            if (length <8){
	            return false;
	            }
	        for (int i = 0; i < password.length();i++)
	        {
			        if (!Character.isLetter(password.charAt(i)))
			        {
			        	counter++;
			        }
	        }           
	        if(counter==0)
	        {
	        	return false;
	        }
	            return true;
	        }

}
